import { Image, Carousel as AntCarousel } from "antd";
import React from "react";
import styles from "./Carousel.module.css"

import calouselImage1 from "../../assets/images/carousel_1.jpg"
import calouselImage2 from "../../assets/images/carousel_2.jpg"
import calouselImage3 from "../../assets/images/carousel_3.jpg"
export const Carousel: React.FC = () => {
    return (<AntCarousel autoplay className={styles.slider}>
        <Image src={calouselImage1}></Image>
        <Image src={calouselImage2}></Image>
        <Image src={calouselImage3}></Image>
    </AntCarousel>)
}